package edu.zju.udms.dnavigator.core.extract;

import java.util.List;
import java.util.UUID;

import edu.zju.udms.dnavigator.core.entity.Entity;
import edu.zju.udms.dnavigator.core.entity.Record;
import edu.zju.udms.dnavigator.core.entity.Relation;
import edu.zju.udms.dnavigator.core.utils.Tuple3;

public abstract class Extractor {

	public final UUID id = UUID.randomUUID();
	
	public abstract Tuple3<List<Entity>, List<Relation>, List<Record>> extract() throws Exception;

	public UUID getId() {
		return id;
	}
	
	public abstract String getSource();
}
